package com.duoec.magichour.core.annotation;

import com.duoec.magichour.enums.RoleEnum;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Created by ycoe on 17/6/29.
 */
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface Access {
    RoleEnum value() default RoleEnum.AUTHORIZED;
}
